<?php
/**
 * 测试环境 配制文件
 *
 */

$GLOBALS['g_sdo_app_store_config'] = array(
    //Memcache
    'cache_physical' => array(
        0 => array('host' => '10.10.85.189', 'port' => 11556),
    ),
    
    //数据库物理地址
    'db_physical' => array(
        0 => array('host' => '10.10.85.190', 'port' => 3306),
        'db_user' => 'root',
        'db_pwd'  => '',
    ),
   
    'db_cluster' => array(
        'user_app' => array(
            'map' => array(0 => 0),        
            'db_name_prefix' => 'oa_user_app_',
            'farm_count'     => 16,
            #'farm_policy'    => 'sdo_app_store_partition_256_by_md5_hash',
            'farm_policy'    => 'sdo_app_store_partition_16_by_md5_hash',
        ),
        
        'app_user' => array(
            'map' => array(0 => 0), 
            'db_name_prefix' => 'oa_app_user_',
            'farm_count'     => 16,
            #'farm_policy'    => 'sdo_app_store_partition_256_by_md5_hash',
            'farm_policy'    => 'sdo_app_store_partition_16_by_md5_hash',
        ),
    ),

    'db_singles' => array(
        'app_store' => array(
            'map'     => 0,
            'db_name' => 'oa_app_store',
        ),
    ),
    
    'cache_cluster' => array(
        'share'     => array(0),
        'appinfo'   => array(0),
    ),
    
    'app_img_prefix' => 'http://pic.sdo.com/images/',
    
    'app_store_base_url' => 'http://apps.sdo.com',
);
